﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Share/_Layout.cshtml";
}

<h2>欢迎您:@ViewBag.Name</h2>
<table style="float:left">
    <thead>
        <tr>
            <th>用户名</th>
            <th>姓名</th>
            <th>密码</th>
        </tr>
    </thead>

    <tbody>
        @foreach (var item in @ViewBag.USERS)
        {
            <tr>
                <td>@item.UserName</td>
                <td>@item.UserTrueName</td>
                <td>@item.PassWord</td>
            </tr>
        }
    </tbody>
</table>


<table style="float:right">
    <thead>
        <tr>
            <th>用户名</th>
            <th>姓名</th>
            <th>密码</th>
        </tr>
    </thead>

    <tbody>
        @foreach (var item in @ViewBag.USERS2)
        {
            <tr>
                <td>@item.UserName</td>
                <td>@item.UserTrueName</td>
                <td>@item.PassWord</td>
            </tr>
        }
    </tbody>
</table>

